<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">

	var arr = [1,2,3,4,5,6];
	alert(arr.slice(2))




	//alert(arr)
	//[3,1,2];
	/*
	var arr = ['leo','18'];
	alert(arr.pop());
	alert(arr)
	*/
	//alert(arr);
	
</script>
</body>
</html>